package com.piece.admin.support;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 聊天室请求数据
 */
@Data
@ApiModel(value = "聊天室请求数据")
@NoArgsConstructor
@AllArgsConstructor
public class ChatRequestMessage {

    @ApiModelProperty(notes = "发送人")
    private String sender;

    @ApiModelProperty(notes = "接收人")
    private String receiver;

    @ApiModelProperty(notes = "接收群")
    private String room;

    @ApiModelProperty(notes = "消息类型")
    private String type;

    @ApiModelProperty(notes = "消息内容")
    private String content;

    @ApiModelProperty(notes = "消息对象")
    private Object entity;
}
